package com.ffox.mapper;

import com.ffox.entity.SchoolApproval;
import com.ffox.entity.SchoolInformation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface PlatformSchoolMapper {
    public List<SchoolInformation> getAllSchoolInformation();
    public List<SchoolApproval> getAllSchoolApproval();
    public SchoolApproval getSchoolApprovalById(Long id);
    public Integer updateSchoolInformation(@Param("id") Long id, @Param("params") Map<String, Object> params);
    public Integer updateSchoolApproval(@Param("id") Long id, @Param("params") Map<String, Object> params);
    public Integer insertSchoolInformation(SchoolInformation schoolInformation);


}
